class DeployerMessage extends LocalMessage;

var(Messages) string InsufficientControlString, LimitReachedString, InsufficientAmmoString, NoRoomString, TooFarString, NotFlatString, AlreadyHasString, NotAllowString;
var(Messages) string SuperReturnString, DeathString;

static function string GetString(
	optional int Switch,
	optional PlayerReplicationInfo RelatedPRI_1,
	optional PlayerReplicationInfo RelatedPRI_2,
	optional Object OptionalObject)
{
//local tfmenuconsole mcon;
	if(Switch == 0)
		return Default.InsufficientControlString;
	else if(Switch == 1)
		return Default.LimitReachedString;
	else if(Switch == 2)
		return Default.InsufficientAmmoString;
	else if(Switch == 3)
		return Default.NoRoomString;
	else if(Switch == 4)
		return Default.TooFarString;
	else if(Switch == 5)
		return Default.NotFlatString;
	else if(Switch == 6)
		return Default.AlreadyHasString;
	else if(Switch == 7)
		return Default.NotAllowString;
	else if(Switch == 8)
		return Default.SuperReturnString;
	else if(Switch == 9)
		return Default.DeathString;

	return "If you can read this, it's a bug. Please squash it.";
}

defaultproperties
{
     InsufficientControlString="Not Enough Control"
     LimitReachedString="Too many active Sentinels"
     InsufficientAmmoString="Not enough Energy"
     NoRoomString="Not enough space to deploy here."
     TooFarString="Ceiling is too far away to deploy on."
     NotFlatString="Ceiling is not flat enough to deploy on."
     AlreadyHasString="This Upgrade has already been applied."
     NotAllowString="Upgrades have been disabled for this match."
     DeathString="A Turret Sentinel has been destroyed."
     bIsUnique=True
     bFadeMessage=True
     Lifetime=2
     DrawColor=(B=0,G=0)
     StackMode=SM_Down
     PosY=0.800000
     FontSize=1
}
